package com.smarthome.core.deviceManager;

import java.util.List;

import com.smarthome.domain.bean.ShEquipmentDevCamera;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

/**
 * <B>监控设备服务类</B><br />
 * 
 * @author hgj
 */
public interface EquipmentDevCameraService {

	/**
	 * 分页查询
	 * 
	 * @param devCamera
	 * @param page
	 * @return
	 */
	DataGrid dataGrid(ShEquipmentDevCamera devCamera, PageHelper page);

	void saveOrUpdate(ShEquipmentDevCamera devCamera);

	/**
	 * 根据id获取
	 * 
	 * @param id
	 * @return
	 * @author hgj
	 */
	ShEquipmentDevCamera queryById(Long id);

	/**
	 * 根据监控设备编号/序列号查询对象
	 * 
	 * @param code
	 * @return
	 */
	ShEquipmentDevCamera queryByCode(String code);

	int delete(Long id);

	List<ShEquipmentDevCamera> getAllList(ShEquipmentDevCamera camera);

	/**
	 * 获取摄像头信息，包括状态等
	 */
	void parseCameraInfo();
}
